import { Command } from "../class/Command";


/**
 * 出牌
 */
export class OutCard extends Command {
    static commandName: string = "出牌";
    invoke() {
        const cardName = this.context.nextParam();
        const role = this.game.getRole(this.context.getId())
        role.outCard(cardName, this.context);
    }

}